package com.wzy.service.impl;

import com.wzy.mapper.SysRoleMapper;
import com.wzy.pojo.SysRole;
import com.wzy.service.SysRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @auth wzy
 * @date 2023/10/24 14:30
 */
@Service
public class SysRoleServiceImpl implements SysRoleService {

    @Autowired
    private SysRoleMapper sysRoleMapper;

    @Override
    public List<SysRole> getRoleList() {
        return sysRoleMapper.getRoleList();
    }
}
